package com.share.design.stratege;

import lombok.Getter;
import lombok.Setter;

/**
 * author:caifan
 * date:2020/2/3
 */
public class StrategyContext {
    @Getter
    @Setter
    private Strategy strategy;

    public void strategyMethod() {
        strategy.calculate();
    }
}
